﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="EmpresaPrincipal.aspx.cs" Inherits="AudiPyme.UI.EmpresaPrincipal"
    EnableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="PanelOpciones" runat="server">
        <ul class="list1" id="ListaOpciones" runat="server">
        </ul>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id='basic-modal' style="text-align: right">
        <a href='#' class='basic'>
            <img src="/Images/Icono_ayuda.jpg" alt="Pinche para ver un video tutorial de la página"
                width="30 " height="30" border="0"></a>
    </div>
    <!-- modal content -->
    <div id="basic-modal-content">
        <iframe width="853" height="480" src="http://www.youtube.com/embed/guA4D-8QM_Q" frameborder="0"
            allowfullscreen></iframe>
    </div>
    <!-- preload the images -->
    <div style='display: none'>
        <img src='Images/x.png' alt='' />
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <h2>
                Empresa
                <asp:Label ID="LblEmpresa" runat="server"></asp:Label>
            </h2>
            <asp:Panel ID="Panel1" runat="server" Visible="False">
                <h4>
                    Tipo de Empresa:
                    <asp:Label ID="LblTipoEmpresa" runat="server" Font-Bold="True"></asp:Label>
                </h4>
                <h4>
                    Sector:
                    <asp:Label ID="LblSector" runat="server" Font-Bold="True"></asp:Label>
                </h4>
                <h4>
                    Facturación:
                    <asp:Label ID="LblFacturacion" runat="server" Font-Bold="True"></asp:Label>
                    (miles de €)
                </h4>
            </asp:Panel>
            <p>
                <table>
                    <tr>
                        <td id="tdChartActRel" align="left">
                            <asp:Panel ID="PanelChartActRel" runat="server" Visible="False">
                                <h5>
                                    Activos y Relaciones de la Empresa<asp:Chart ID="ChartActRel" runat="server" Height="375px"
                                        OnClick="ChartActRel_Click" Width="375px">
                                        <Series>
                                            <asp:Series BackSecondaryColor="White" CustomProperties="DrawingStyle=Cylinder" Font="Microsoft Sans Serif, 8pt"
                                                LabelForeColor="Gray" MarkerColor="White" Name="Series1" PostBackValue="#VALX">
                                            </asp:Series>
                                        </Series>
                                        <ChartAreas>
                                            <asp:ChartArea BackColor="Transparent" BackSecondaryColor="Transparent" Name="ChartArea1"
                                                ShadowColor="White">
                                                <AxisY LineColor="Gainsboro">
                                                    <MajorGrid LineColor="Gainsboro" />
                                                    <MajorTickMark LineColor="DimGray" />
                                                </AxisY>
                                                <AxisX LineColor="Gainsboro">
                                                    <MajorGrid LineColor="Gainsboro" />
                                                </AxisX>
                                                <AxisX2 LineColor="Gainsboro">
                                                    <MajorGrid LineColor="Gainsboro" />
                                                </AxisX2>
                                                <AxisY2 LineColor="Gainsboro">
                                                    <MajorGrid LineColor="Gainsboro" />
                                                </AxisY2>
                                                <Area3DStyle Enable3D="True" Inclination="20" LightStyle="Realistic" PointGapDepth="0" />
                                            </asp:ChartArea>
                                        </ChartAreas>
                                    </asp:Chart>
                                </h5>
                            </asp:Panel>
                        </td>
                        <td id="tdCharMadurez" align="left">
                            <asp:Panel ID="PanelChartMadurez" runat="server" Visible="False">
                                <h5>
                                    Niveles de Madurez
                                </h5>
                                <asp:Chart ID="ChartMadurez" runat="server" Height="375px" Width="375px" OnClick="ChartMadurez_Click">
                                    <Series>
                                        <asp:Series Name="Series1" YValuesPerPoint="2" ChartArea="ChartArea2" PostBackValue="#VALX"
                                            CustomProperties="DrawingStyle=Cylinder">
                                        </asp:Series>
                                    </Series>
                                    <ChartAreas>
                                        <asp:ChartArea Area3DStyle-Enable3D="True" Area3DStyle-IsRightAngleAxes="False" Area3DStyle-LightStyle="Realistic"
                                            Name="ChartArea2" BackColor="Transparent" BackSecondaryColor="Transparent" ShadowColor="White">
                                            <AxisY Interval="0.5" LabelAutoFitMinFontSize="6" LineColor="Gainsboro">
                                                <MajorGrid LineColor="Gainsboro" />
                                            </AxisY>
                                            <AxisX Interval="1" LabelAutoFitMinFontSize="9" TextOrientation="Rotated90" LineColor="Gainsboro">
                                                <MajorGrid LineColor="Gainsboro" />
                                            </AxisX>
                                            <AxisX2 LineColor="Gainsboro">
                                                <MajorGrid LineColor="Gainsboro" />
                                            </AxisX2>
                                            <AxisY2 LineColor="Gainsboro">
                                                <MajorGrid LineColor="Gainsboro" />
                                            </AxisY2>
                                            <Area3DStyle Enable3D="True" LightStyle="Realistic" Inclination="20" PointGapDepth="0" />
                                        </asp:ChartArea>
                                    </ChartAreas>
                                </asp:Chart>
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </p>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
